package com.eureka;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description: 用户服务
 * @Author: lixing
 * @Date: 2021/6/4 21:58
 */
@SpringBootApplication
/** 开启Eureka Client */
@EnableDiscoveryClient
/** 开启 mybatis mapper 接口扫描（多个路径也可以以逗号分隔） */
@MapperScan("com.eureka.user.mapper")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
